#ifndef SPYMOUSE_H
#define SPYMOUSE_H

#include <QObject>
#include <QEvent>

#include <iostream>
#include <fstream>

class SpyMouse: public QObject {
    Q_OBJECT
public:
    SpyMouse() {
        out.open("/home/maks/gc.txt", std::ios::out);
    }

    bool eventFilter(QObject * object, QEvent * event);

private:
    std::ofstream out;
};

#endif // SPYMOUSE_H
